package mythread.demo001;

public class MyThread14 extends Thread {

    private int i = 0;

    public int getI() {
        return i;
    }

    public void setI(int i) {
        this.i = i;
    }

    @Override
    public void run() {

        while (true) {
            i++;
        }


    }
}
